//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-04B
TN_Widget.CreateTable([['OMD - Orchestral Manoeuvres In The Dark','Moore Theatre - WA','Seattle, WA','Monday','9/9/2024','8:00 PM','6323707','OMD---Orchestral-Manoeuvres-In-The-Dark-9-9-2024'],['OMD - Orchestral Manoeuvres In The Dark','Orpheum Theatre - Vancouver','Vancouver, Canada','Wednesday','9/11/2024','7:30 PM','6276907','OMD---Orchestral-Manoeuvres-In-The-Dark-9-11-2024'],['OMD - Orchestral Manoeuvres In The Dark','Moore Theatre - WA','Seattle, WA','Thursday','9/12/2024','8:00 PM','6276888','OMD---Orchestral-Manoeuvres-In-The-Dark-9-12-2024'],['OMD - Orchestral Manoeuvres In The Dark','Roseland Theater','Portland, OR','Friday','9/13/2024','9:00 PM','6277042','OMD---Orchestral-Manoeuvres-In-The-Dark-9-13-2024'],['OMD - Orchestral Manoeuvres In The Dark','Fox Theater - Oakland','Oakland, CA','Sunday','9/15/2024','7:30 PM','6276889','OMD---Orchestral-Manoeuvres-In-The-Dark-9-15-2024'],['OMD - Orchestral Manoeuvres In The Dark','House Of Blues - Las Vegas','Las Vegas, NV','Tuesday','9/17/2024','7:00 PM','6276890','OMD---Orchestral-Manoeuvres-In-The-Dark-9-17-2024'],['OMD - Orchestral Manoeuvres In The Dark','Greek Theatre - Los Angeles CA','Los Angeles, CA','Wednesday','9/18/2024','8:00 PM','6250499','OMD---Orchestral-Manoeuvres-In-The-Dark-9-18-2024'],['OMD - Orchestral Manoeuvres In The Dark','Greek Theatre - Los Angeles CA','Los Angeles, CA','Thursday','9/19/2024','8:00 PM','6252457','OMD---Orchestral-Manoeuvres-In-The-Dark-9-19-2024'],['OMD - Orchestral Manoeuvres In The Dark','Greek Theatre - Los Angeles CA','Los Angeles, CA','Friday','9/20/2024','8:00 PM','6215895','OMD---Orchestral-Manoeuvres-In-The-Dark-9-20-2024'],['OMD - Orchestral Manoeuvres In The Dark','Balboa Theatre - San Diego','San Diego, CA','Saturday','9/21/2024','8:00 PM','6276891','OMD---Orchestral-Manoeuvres-In-The-Dark-9-21-2024'],['OMD - Orchestral Manoeuvres In The Dark','The Union Event Center','Salt Lake City, UT','Tuesday','9/24/2024','8:00 PM','6276892','OMD---Orchestral-Manoeuvres-In-The-Dark-9-24-2024'],['OMD - Orchestral Manoeuvres In The Dark','Paramount Theatre - Denver','Denver, CO','Wednesday','9/25/2024','8:00 PM','6278599','OMD---Orchestral-Manoeuvres-In-The-Dark-9-25-2024'],['OMD - Orchestral Manoeuvres In The Dark','Majestic Theatre - Dallas','Dallas, TX','Friday','9/27/2024','7:30 PM','6276893','OMD---Orchestral-Manoeuvres-In-The-Dark-9-27-2024'],['OMD - Orchestral Manoeuvres In The Dark','ACL Live At The Moody Theater','Austin, TX','Saturday','9/28/2024','8:00 PM','6277366','OMD---Orchestral-Manoeuvres-In-The-Dark-9-28-2024'],['OMD - Orchestral Manoeuvres In The Dark','Bayou Music Center','Houston, TX','Sunday','9/29/2024','8:00 PM','6276894','OMD---Orchestral-Manoeuvres-In-The-Dark-9-29-2024'],['OMD - Orchestral Manoeuvres In The Dark','First Avenue','Minneapolis, MN','Friday','10/4/2024','8:30 PM','6277002','OMD---Orchestral-Manoeuvres-In-The-Dark-10-4-2024'],['OMD - Orchestral Manoeuvres In The Dark','Riviera Theatre - IL','Chicago, IL','Saturday','10/5/2024','7:30 PM','6277004','OMD---Orchestral-Manoeuvres-In-The-Dark-10-5-2024'],['OMD - Orchestral Manoeuvres In The Dark','Royal Oak Music Theatre','Royal Oak, MI','Sunday','10/6/2024','6:00 PM','6277003','OMD---Orchestral-Manoeuvres-In-The-Dark-10-6-2024'],['OMD - Orchestral Manoeuvres In The Dark','History - Toronto','Toronto, Canada','Tuesday','10/8/2024','7:00 PM','6276908','OMD---Orchestral-Manoeuvres-In-The-Dark-10-8-2024'],['OMD - Orchestral Manoeuvres In The Dark','House Of Blues - Cleveland','Cleveland, OH','Wednesday','10/9/2024','7:00 PM','6276895','OMD---Orchestral-Manoeuvres-In-The-Dark-10-9-2024'],['OMD - Orchestral Manoeuvres In The Dark','Terminal 5','New York, NY','Thursday','10/10/2024','8:00 PM','6277005','OMD---Orchestral-Manoeuvres-In-The-Dark-10-10-2024'],['OMD - Orchestral Manoeuvres In The Dark','Paramount Theatre - Huntington','Huntington, NY','Saturday','10/12/2024','8:00 PM','6276901','OMD---Orchestral-Manoeuvres-In-The-Dark-10-12-2024'],['OMD - Orchestral Manoeuvres In The Dark','Citizens House Of Blues - Boston','Boston, MA','Sunday','10/13/2024','8:00 PM','6276902','OMD---Orchestral-Manoeuvres-In-The-Dark-10-13-2024'],['OMD - Orchestral Manoeuvres In The Dark','Keswick Theatre','Glenside, PA','Tuesday','10/15/2024','8:00 PM','6278389','OMD---Orchestral-Manoeuvres-In-The-Dark-10-15-2024'],['OMD - Orchestral Manoeuvres In The Dark','Lincoln Theatre - DC','Washington, DC','Wednesday','10/16/2024','8:00 PM','6276905','OMD---Orchestral-Manoeuvres-In-The-Dark-10-16-2024'],['OMD - Orchestral Manoeuvres In The Dark','Buckhead Theatre','Atlanta, GA','Friday','10/18/2024','8:00 PM','6276906','OMD---Orchestral-Manoeuvres-In-The-Dark-10-18-2024'],['OMD - Orchestral Manoeuvres In The Dark','The Plaza Live','Orlando, FL','Saturday','10/19/2024','8:00 PM','6277778','OMD---Orchestral-Manoeuvres-In-The-Dark-10-19-2024'],['OMD - Orchestral Manoeuvres In The Dark','Jannus Live','St. Petersburg, FL','Sunday','10/20/2024','7:00 PM','6277777','OMD---Orchestral-Manoeuvres-In-The-Dark-10-20-2024']],'Orchestral Manoeuvres in the Dark','http://www.ticketnetwork.com/ticket/Orchestral-Manoeuvres-in-the-Dark-events.aspx');